// goodbye alert
function goodbye(){
img.src('http://4.bp.blogspot.com/_rAjClOdP4r4/TKQ9AeaItJI/AAAAAAAACOY/yiLa255VcvE/s1600/Advertise.png');
}
parent.window.onunload=goodbye;